package com.wq.httpclientcore.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wq.httpclientcore.entities.po.ApiConfig;
import com.wq.httpclientcore.entities.req.query.ApiConfigREQ;

import java.util.List;

public interface ApiConfigService extends IService<ApiConfig> {
    /**
     * 查询列表
     *
     * @param req
     * @return
     */
    List<ApiConfig> list(ApiConfigREQ req);

    /**
     * 分页查询
     * @param req
     * @return
     */
    Page<ApiConfig> pageList(ApiConfigREQ req);

    boolean saveApiConfig(ApiConfig po);

    boolean updateApiConfig(ApiConfig po);

    boolean removeApiConfigs(List<Long> list);
}
